/**
**************************************************************************************
*Founder Effect                                                                      *
*Copyright (C) 2006-2007, 5d Studios (www.5d-Studios.com)                            *
*                                                                                    *
*This library is free software; you can redistribute it and/or                       *
*modify it under the terms of the GNU Lesser General Public                          *
*License as published by the Free Software Foundation; either                        *
*version 2.1 of the License, or (at your option) any later version.                  *
*                                                                                    *
*This library is distributed in the hope that it will be useful,                     *
*but WITHOUT ANY WARRANTY; without even the implied warranty of                      *
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                   *
*Lesser General Public License for more details.                                     *
*                                                                                    *
*You should have received a copy of the GNU Lesser General Public                    *
*License along with this library; if not, write to the Free Software                 *
*Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA      *
**************************************************************************************
*/
#pragma once
#include "Component.h"

namespace gui
{
/** A Label of Text */
class MLabel : public gui::Component
{
public:
    MLabel(const gui::Component* c) : gui::Component(c) {};

    /** Set/Get Label Text */
    void SetLabelText( const std::string &s ) { m_labelText = s; };
    std::string GetLabelText() { return m_labelText; };

    /* Render */
    void Render( IRender* r );

private:
    // label text
    std::string m_labelText;
public:
    virtual ~MLabel(void);
};

};
